<h1>SentSpam List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>User</th>
      <th>Tag</th>
      <th>Updated at</th>
      <th>Created at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($sent_spam_list as $sent_spam): ?>
    <tr>
      <td><a href="<?php echo url_for('sentSpam/edit?id='.$sent_spam->getId()) ?>"><?php echo $sent_spam->getId() ?></a></td>
      <td><?php echo $sent_spam->getUserId() ?></td>
      <td><?php echo $sent_spam->getTag() ?></td>
      <td><?php echo $sent_spam->getUpdatedAt() ?></td>
      <td><?php echo $sent_spam->getCreatedAt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('sentSpam/new') ?>">New</a>
